#pragma once

class CEX File:public Object
{

public:
	
	virtual const char* __getName(){return "File";}

	File();
	~File();

	virtual void close() = 0;
	virtual long long getSize() = 0;
	virtual void setPos(long long pos) = 0;
	virtual long long getPos() = 0;
	virtual DateTime getModTime() = 0;

	virtual void read(void* ptr,int size) = 0;
	virtual void write(void* ptr,int size) = 0;
};


